//===COMMENT===

package bubble3d.main {
	
	public class StatusMonitor {
	
		private static var _instance:StatusMonitor = null;
	
		private var statusItems:Array;

		public static function instance():StatusMonitor {
			if (StatusMonitor._instance == null) {
				StatusMonitor._instance = new StatusMonitor();
			}
			return StatusMonitor._instance;
		}
	
		public function StatusMonitor() {

			statusItems = new Array();

		}
	
		public function record(id:String, t:String):void {
			
			statusItems[id] = t;
			
		}

		public function getValue(id:String):String {
			
			return(statusItems[id]);
			
		}

}

}